<template>
  <div class="error-container">
    <div class="error-content">
      <h1 class="error-code">404</h1>
      <h2 class="error-title">页面不存在</h2>
      <div class="error-desc">抱歉，您访问的页面不存在</div>
      <el-button type="primary" @click="goHome">返回首页</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Page404',
  methods: {
    goHome() {
      this.$router.push('/')
    }
  }
}
</script>

<style lang="scss" scoped>
.error-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f2f5;
}

.error-content {
  text-align: center;
  padding: 30px;
  
  .error-code {
    font-size: 120px;
    color: #409EFF;
    margin: 0;
  }
  
  .error-title {
    font-size: 24px;
    color: #303133;
    margin: 20px 0;
  }
  
  .error-desc {
    font-size: 16px;
    color: #606266;
    margin-bottom: 30px;
  }
}
</style> 